/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package luft27.zorcon.ui;

import gov.nasa.worldwind.animation.Animator;
import gov.nasa.worldwind.awt.BasicViewInputHandler;
import gov.nasa.worldwind.awt.ViewInputAttributes.ActionAttributes;
import gov.nasa.worldwind.awt.ViewInputAttributes.DeviceAttributes;
import gov.nasa.worldwind.geom.Angle;

/**
 * Null view input handler for blocking user input while in the first person view mode.
 * @author amalikov
 */
public class NullViewInputHandler extends BasicViewInputHandler {

	@Override
	protected void onRotateView(Angle headingChange, Angle pitchChange, ActionAttributes actionAttribs) {
	}

	@Override
	protected void onRotateView(double headingInput, double pitchInput, double totalHeadingInput, double totalPitchInput, DeviceAttributes deviceAttributes, ActionAttributes actionAttributes) {
	}

	@Override
	protected void onVerticalTranslate(double translateChange, double totalTranslateChange, DeviceAttributes deviceAttributes, ActionAttributes actionAttributes) {
	}

	@Override
	protected void onHorizontalTranslateRel(Angle forwardChange, Angle sideChange, ActionAttributes actionAttribs) {
	}

	@Override
	public void stopAnimators() {
	}

	@Override
	public boolean isAnimating() {
		return false;
	}

	@Override
	public void addAnimator(Animator animator) {
	}
}
